ubuntu-resolute
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 16 Dec 2025 11:47:30 +0000 (12:47 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 16 Dec 2025 11:47:30 +0000 (12:47 +0100)
commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045
Author: Sylvestre Ledru <sylvestre@debian.org>
Date:   Tue Apr 22 11:50:58 2025 +0200

    Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka)

Gbp-Pq: Name ubuntu-resolute.patch

clang/include/clang/Driver/Distro.h
clang/lib/Driver/Distro.cpp

index 5c25592e68ade85c8eeada9f772ebd9f6bb8899b..6b6fbb04a639e6cb1dd667fb34a70e0632a9eb2c 100644 (file)
@@ -84,6 +84,7 @@ public:
     UbuntuOracular,
     UbuntuPlucky,
     UbuntuQuesting,
+    UbuntuResolute,
     UnknownDistro
   };
 
@@ -135,7 +136,7 @@ public:
   }
 
   bool IsUbuntu() const {
-    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
+    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuResolute;
   }
 
   bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
index 90e5a390be7eb3fb565d495c075973175f6540ee..cc1e448ebaa2a6aa1f531ee7f1bfc114712bde9a 100644 (file)
@@ -97,6 +97,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
                     .Case("oracular", Distro::UbuntuOracular)
                     .Case("plucky", Distro::UbuntuPlucky)
                     .Case("questing", Distro::UbuntuQuesting)
+                    .Case("resolute", Distro::UbuntuResolute)
                     .Default(Distro::UnknownDistro);
   return Version;
 }